package com.hk;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;

@EnableConfigurationProperties   //开启 ConfigurationProperties 对象的读取
@SpringBootApplication
public class Demo05ConfigApplication {

    public static void main(String[] args) {
        SpringApplication.run(Demo05ConfigApplication.class, args);
    }

}
